/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yunhoo.cqq.model;

import com.yunhoo.sys.util.common.LoginParam;

/**
 *
 * @author Administrator
 */
public class CodeBase {

    String kmdm;
    int gradeLevel;
    String kmmc;
    boolean isEnd;
   // ErrMessage message;
    String parentcode;
    String eoccode;
    int grade=0;
    String id;
    private String iyear = "";
    private String orgCode;    
    
    public CodeBase(){
        orgCode = LoginParam.getOrg().getCode();
    }
    
    public String getEoccode() {
        return eoccode;
    }

    public void setEoccode(String eoccode) {
        this.eoccode = eoccode;
    }


    
   public boolean isIsEnd() {
        return isEnd;
    }

    public void setIsEnd(boolean isEnd) {
        this.isEnd = isEnd;
    }

    public int getGradeLevel() {
        return gradeLevel;
    }

    public void setGradeLevel(int gradeLevel) {
        this.gradeLevel = gradeLevel;
    }

 
    public String getKmdm() {
        return kmdm;
    }

    public void setKmdm(String kmdm) {
        this.kmdm = kmdm;
    }

    public String getKmmc() {
        return kmmc;
    }

    public void setKmmc(String kmmc) {
        this.kmmc = kmmc;
    }

//    public ErrMessage getMessage() {
//        return message;
//    }
//
//    public void setMessage(ErrMessage message) {
//        this.message = message;
//    }

    public String getParentcode() {
        return parentcode;
    }

    public void setParentcode(String parentcode) {
        this.parentcode = parentcode;
    }

    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getIyear() {
        return LoginParam.getIyear().toString();
    }

    public void setIyear(String iyear) {
        this.iyear = iyear;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }
}
